home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
SourceCode
/
Tutorial
/
Stepstone_Tutorial
/
Makefile
< prev
next >
Wrap
Makefile
|
1995-06-12
|
881b
|
52 lines
# Application makefile.
#
#
# Generated by the NeXT Interface Builder.
#
#
# Name of the application.
#
NAME = Fruit
#
# Source files for this application.
#
MFILES = Apple.m Fruit.m fruitMain.m
HFILES =
CFILES =
NIBFILES =
TIFFFILES =
PSWFILES =
SNDFILES =
#
# Libraries used by this application.
#
LIBS = -lNeXT_s -lsys_s
#
# Flags to pass on to the compiler and linker.
#
CFLAGS = -g
LFLAGS =
#
# Rules.
#
SRCFILES = $(MFILES) $(HFILES) $(CFILES) $(NIBFILES) $(TIFFFILES) $(PSWFILES)
OBJFILES = $(MFILES:.m=.o) $(CFILES:.c=.o) $(PSWFILES:.psw=.o)
DERIVED = $(PSWFILES:.psw=.c)
GARBAGE = $(DERIVED) core errs
$(NAME): $(OBJFILES)
$(CC) $(CFLAGS) $(LFLAGS) -o $@ $(OBJFILES) $(LIBS)
clean:
-rm -f *.o $(NAME) $(DERIVED) $(GARBAGE)
help:
@echo ' make $(NAME) - to make the application'
@echo ' make clean - to remove all files but the source'